package com.mjf.cjt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 生产加工单明细表
 * </p>
 *
 * @author
 * @since 2025-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mjf_manufactureorder_details")
//@ApiModel(value = "MjfManufactureOrderDetails对象", description = "生产加工单明细表")
public class MjfManufactureOrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    // @ApiModelProperty(value = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // @ApiModelProperty(value = "主单id")
    @TableField("m_id")
    private Long mId;

    // @ApiModelProperty(value = "")
    @TableField("ts")
    private String ts;

    // @ApiModelProperty(value = "")
    @TableField("status")
    private Integer status;

    // @ApiModelProperty(value = "")
    @TableField("haspra")
    private String hasPra;

    // @ApiModelProperty(value = "产品条码")
    @TableField("inventorybarcode")
    private String inventoryBarcode;

    // @ApiModelProperty(value = "")
    @TableField("project")
    private String project;

    // @ApiModelProperty(value = "产品id")
    @TableField("inventoryid")
    private String inventoryId;

    // @ApiModelProperty(value = "产品编码")
    @TableField("inventorycode")
    private String inventoryCode;

    // @ApiModelProperty(value = "产品名称")
    @TableField("inventoryname")
    private String inventoryName;

    // @ApiModelProperty(value = "")
    @TableField("inventoryimagefile")
    private String inventoryImageFile;

    // @ApiModelProperty(value = "规格")
    @TableField("inventorySpecification")
    private String inventorySpecification;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc1")
    private String inventoryPriUserDefNvc1;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc2")
    private String inventoryPriUserDefNvc2;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc3")
    private String inventoryPriUserDefNvc3;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc4")
    private String inventoryPriUserDefNvc4;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc5")
    private String inventoryPriUserDefNvc5;

    // @ApiModelProperty(value = "产品品牌")
    @TableField("inventorypriuserdefnvc6")
    private String inventoryPriUserDefNvc6;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefnvc7")
    private String inventoryPriUserDefNvc7;

    // @ApiModelProperty(value = "存货代码")
    @TableField("inventoryPriUserDefDecm1")
    private String inventoryPriUserDefDecm1;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefdecm2")
    private BigDecimal inventoryPriUserDefDecm2;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefdecm3")
    private BigDecimal inventoryPriUserDefDecm3;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefdecm4")
    private BigDecimal inventoryPriUserDefDecm4;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefdecm5")
    private BigDecimal inventoryPriUserDefDecm5;

    // @ApiModelProperty(value = "")
    @TableField("inventorypriuserdefdecm6")
    private BigDecimal inventoryPriUserDefDecm6;

    // @ApiModelProperty(value = "")
    @TableField("bomid")
    private String bomId;

    // @ApiModelProperty(value = "")
    @TableField("bomcode")
    private String bomCode;

    // @ApiModelProperty(value = "")
    @TableField("bomname")
    private String bomName;

    // @ApiModelProperty(value = "工艺路线")
    @TableField("routing")
    private String routing;

    // @ApiModelProperty(value = "")
    @TableField("blueprint")
    private String blueprint;

    // @ApiModelProperty(value = "")
    @TableField("techrequirements")
    private String techRequirements;

    // @ApiModelProperty(value = "")
    @TableField("bomexpandtypeid")
    private String bomExpandTypeId;

    // @ApiModelProperty(value = "")
    @TableField("bomexpandtypecode")
    private String bomExpandTypeCode;

    // @ApiModelProperty(value = "")
    @TableField("bomexpandtypename")
    private String bomExpandTypeName;

    // @ApiModelProperty(value = "仓库")
    @TableField("warehouse")
    private String warehouse;

    // @ApiModelProperty(value = "")
    @TableField("batch")
    private String batch;

    // @ApiModelProperty(value = "单位id")
    @TableField("unitid")
    private String unitId;

    // @ApiModelProperty(value = "单位编码")
    @TableField("unitcode")
    private String unitCode;

    // @ApiModelProperty(value = "单位名称")
    @TableField("unitname")
    private String unitName;

    // @ApiModelProperty(value = "数量")
    @TableField("quantity")
    private BigDecimal quantity;

    // @ApiModelProperty(value = "")
    @TableField("unitexchangerate")
    private BigDecimal unitExchangeRate;

    // @ApiModelProperty(value = "")
    @TableField("unit2")
    private String unit2;

    // @ApiModelProperty(value = "")
    @TableField("quantity2")
    private BigDecimal quantity2;

    // @ApiModelProperty(value = "")
    @TableField("compositionquantity")
    private String compositionQuantity;

    // @ApiModelProperty(value = "预开工日")
    @TableField("prestartdate")
    private Date preStartDate;

    // @ApiModelProperty(value = "预完工日")
    @TableField("prefinishdate")
    private Date preFinishDate;

    // @ApiModelProperty(value = "")
    @TableField("startdate")
    private Date startDate;

    // @ApiModelProperty(value = "")
    @TableField("finishdate")
    private Date finishDate;

    // @ApiModelProperty(value = "")
    @TableField("ismanualfinish")
    private String isManualFinish;

    // @ApiModelProperty(value = "需要成品检验")
    @TableField("isneedqualityinspection")
    private String isNeedQualityInspection;

    // @ApiModelProperty(value = "")
    @TableField("inspecttype")
    private String inspectType;

    // @ApiModelProperty(value = "")
    @TableField("inspectionsamplingrate")
    private BigDecimal inspectionSamplingRate;

    // @ApiModelProperty(value = "")
    @TableField("wholesuittotalreportquantity")
    private BigDecimal wholeSuitTotalReportQuantity;

    // @ApiModelProperty(value = "")
    @TableField("totalinspectionquantity")
    private BigDecimal totalInspectionQuantity;

    // @ApiModelProperty(value = "")
    @TableField("wholesuitmaterialquantity")
    private BigDecimal wholeSuitMaterialQuantity;

    // @ApiModelProperty(value = "")
    @TableField("totalstockinquantity")
    private BigDecimal totalStockInQuantity;

    // @ApiModelProperty(value = "")
    @TableField("totalinspectionquantity2")
    private BigDecimal totalInspectionQuantity2;

    // @ApiModelProperty(value = "")
    @TableField("totalstockinquantity2")
    private BigDecimal totalStockInQuantity2;

    // @ApiModelProperty(value = "")
    @TableField("sourcevouchertype")
    private String sourceVoucherType;

    // @ApiModelProperty(value = "")
    @TableField("sourcevouchercode")
    private String sourceVoucherCode;

    // @ApiModelProperty(value = "销售订单号")
    @TableField("saleordercode")
    private String saleOrderCode;

    // @ApiModelProperty(value = "客户")
    @TableField("customer")
    private String customer;

    // @ApiModelProperty(value = "")
    @TableField("availablequantity")
    private BigDecimal availableQuantity;

    // @ApiModelProperty(value = "")
    @TableField("availablecompositionquantity")
    private String availableCompositionQuantity;

    // @ApiModelProperty(value = "")
    @TableField("existingquantity")
    private BigDecimal existingQuantity;

    // @ApiModelProperty(value = "")
    @TableField("existingcompositionquantity")
    private String existingCompositionQuantity;

    // @ApiModelProperty(value = "")
    @TableField("barcode")
    private String barcode;

    // @ApiModelProperty(value = "成品尺寸")
    @TableField("pubuserdefnvc2")
    private String pubuserdefnvc2;

    // @ApiModelProperty(value = "工序单生成状态：null或0-未生成，1-已生成")
    @TableField("generateorderstatus")
    private Integer generateOrderStatus;
}
